package com.sias.realestate.web.model;

import java.util.Date;

public class Notification {
	private Integer nId;

    private Integer nType;

    private Integer oId;

    private Date nTime;

    private String nContent;
    
    private Owner owner;
    
    

    public Owner getOwner() {
		return owner;
	}

	public void setOwner(Owner owner) {
		this.owner = owner;
	}

	public Integer getnId() {
        return nId;
    }

    public void setnId(Integer nId) {
        this.nId = nId;
    }

    public Integer getnType() {
        return nType;
    }

    public void setnType(Integer nType) {
        this.nType = nType;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public Date getnTime() {
        return nTime;
    }

    public void setnTime(Date nTime) {
        this.nTime = nTime;
    }

    public String getnContent() {
        return nContent;
    }

    public void setnContent(String nContent) {
        this.nContent = nContent == null ? null : nContent.trim();
    }

	@Override
	public String toString() {
		return "Notification [nId=" + nId + ", nType=" + nType + ", oId=" + oId + ", nTime=" + nTime + ", nContent="
				+ nContent + ", owner=" + owner + "]";
	}


	
}